//
//  HQMapUiSettingsModel.m
//  o_amap
//
//  Created by Q神 on 2021/4/16.
//

#import "HQMapUiSettingsModel.h"

@implementation HQMapUiSettingsModel

- (void)setUiSettings:(MAMapView *)mapView {
    [mapView setShowsCompass:self.isCompassEnabled];
    [mapView setShowsScale:self.isScaleControlsEnabled];
    [mapView setZoomEnabled:self.isZoomGesturesEnabled];
    [mapView setScrollEnabled:self.isScrollGesturesEnabled];
    [mapView setRotateEnabled:self.isRotateGesturesEnabled];
    [mapView setMapType:0];
    [mapView setShowsUserLocation:self.showsUserLocation];
    [mapView setUserTrackingMode:self.userTrackingMode];
    
    /// 刷新地图
    [mapView reloadMap];
}

@end
